#ifndef UTILS_H
#define UTILS_H

#include <QString>

namespace Utils
{
bool isArchive(const QString &suffix);
bool isImage(const QString &suffix);
QString versionNumber();

enum ViewOption
{
    ViewNoOptions        = 0,
    ViewFitDoNotEnlarge  = 1,
    ViewFitWindow        = 2,
    ViewFitHeight        = 4,
    ViewFitWidth         = 8,
    ViewFit67Visible     = 16,
    ViewDoNotFit         = 32,
    ViewSideBySide       = 64,
    ViewDetectWidePages  = 128
};

Q_DECLARE_FLAGS(ViewOptions, ViewOption)
}
Q_DECLARE_OPERATORS_FOR_FLAGS(Utils::ViewOptions)
#endif // UTILS_H
